<!doctype html>
<!--[if IEMobile 7 ]> <html lang="zh-CN" class="no-js iem7"> <![endif]-->
<!--[if lt IE 7 ]> <html lang="zh-CN" class="no-js ie6 oldie"> <![endif]-->
<!--[if IE 7 ]> <html lang="zh-CN" class="no-js ie7 oldie"> <![endif]-->
<!--[if IE 8 ]> <html lang="zh-CN" class="no-js ie8 oldie"> <![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html lang="zh-CN" class="no-js"><!--<![endif]-->
<head>
    <title ng-bind="'Admin Panel - ' + config.name"></title>
    <meta charset="utf-8">
    <meta name="title" content="{{config.name}}">
    <meta name="description" content="{{config.description}}">
    <meta name="keywords" content="{{config.keywords}}">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js">
		</script>
		<link rel="stylesheet" href="css/ie.css">
	<![endif]-->
	
    <!-- Loading Bootstrap -->
    <link rel="stylesheet" href="/resources/assets/flatui/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/resources/assets/flatui/bootstrap/css/bootstrap-responsive.css">

    <!-- Loading Flat UI
    <link rel="stylesheet" href="/resources/assets/flatui/css/flat-ui.css"> -->

    <link rel="stylesheet" href="/resources/assets/ng-grid/ng-grid.css">

    <link rel="stylesheet" href="/resources/css/admin.css">
</head>
<body>
<div class="container-fluid" style="padding-top: 20px;">

    <header class="row-fluid">
        <div class="span12 well" style="margin-bottom:10px;padding-bottom:0px;padding-top:0px;background-color: #d9edf7;border-style:none;">
            <h2><a href="/admin/">Admin Panel</a></h2>
        </div>
    </header>

    <div class="row-fluid well" style="padding: 0px;">
        <ul class="span2 nav nav-list nav-stacked" style="padding-top: 20px;padding-right: 0px;background-color: #f5f5f5;">
            <li><a href="/admin/"><i class="icon-home"></i> 首页</a></li>
            <li>
                <a href="/admin/#"><i class="icon-folder-open"></i>博文管理</a>
                <ul class="nav nav-list sub-nav-list">
                    <li><a href="/admin/article/edit"><i class="icon-ok"></i>发布博文</a></li>
                    <li><a href="/admin/article/list/"><i class="icon-th-list"></i>已发布</a></li>
                    <li><a href="/admin/article/draft"><i class="icon-tasks"></i>草稿箱</a></li>
                    <li><a href="/admin/article/trash"><i class="icon-trash"></i>回收站</a></li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="icon-folder-open"></i>分类管理</a>
                <ul class="nav nav-list sub-nav-list">
                    <li><a href="/admin/category"><i class="icon-align-justify"></i>分类</a></li>
                    <li><a href="/admin/tag"><i class="icon-tags"></i>标签</a></li>
                </ul>
            </li>
            <li><a href="#"><i class="icon-cog"></i>资源管理</a></li>
            <li><a href="#"><i class="icon-th"></i>网站统计</a></li>
        </ul>

        <div class="span10" style="background-color: #FFFFFF">
            <div class="row-fluid" ng-show="message" ng-click="closeAlert()" style="cursor:pointer">
                <alert type="message.type" close="closeAlert()">{{message.text}}</alert>
            </div>
            <!-- Main ============================================== -->
            <div ng-view class="container-fluid" style="padding-right: 0px;padding-left: 5px; min-height: 680px;"></div>
        </div>
    </div>
</div>
    <footer>
        <p class="pull-right">A <a href="http://www.portnine.com/bootstrap-themes" target="_blank">Free Bootstrap Theme</a> by <a href="http://www.portnine.com" target="_blank">Portnine</a></p>
        <p>&copy; 2012 <a href="http://www.portnine.com">Portnine</a></p>
    </footer>

    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.js"></script>
    <script src="/resources/assets/flatui/js/jquery-ui-1.10.3.custom.min.js"></script>
    <script src="/resources/assets/flatui/js/jquery.ui.touch-punch.min.js"></script>
    <script src="/resources/assets/flatui/js/bootstrap.min.js"></script>
    <script src="/resources/assets/flatui/js/bootstrap-select.js"></script>
    <script src="/resources/assets/flatui/js/bootstrap-switch.js"></script>
    <script src="/resources/assets/flatui/js/jquery.tagsinput.js"></script>
    <script src="/resources/assets/flatui/js/jquery.placeholder.js"></script>
    <script src="/resources/assets/flatui/js/jquery.stacktable.js"></script>

    <script src="/resources/assets/angular/angular.js"></script>
    <script src="/resources/assets/angular-bootstrap/ui-bootstrap.js"></script>
    <script src="/resources/assets/angular-bootstrap/ui-bootstrap-tpls.js"></script>
    <script src="/resources/assets/ng-grid/ng-grid-2.0.7.debug.js"></script>
    <script src="/resources/assets/angular-resource/angular-resource.js"></script>
    <script src="/resources/assets/angular-cookies/angular-cookies.js"></script>
    <script src="/resources/assets/angular-i18n/angular-locale_zh-hans.js"></script>
    <script src="/resources/assets/angular-sanitize/angular-sanitize.js"></script>

    <script src="/resources/assets/seajs/sea.js?seajs-debug"></script>
    <script type=text/javascript>
        seajs.config({
            charset: 'utf-8',
            //debug: true,
            base: "/",
            alias: {
                "seajs-debug": "/resources/assets/seajs/sea-debug"
            }
        });
        seajs.use(['core/ModuleResolver','/admin/AdminPanel'],function(ApplicationBootstrap){
            angular.bootstrap(document,['AdminPanel']);
        });
    </script>
</body>
</html>
